package cn.edu.lsnu.mbti.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName category
 */
@TableName(value ="category")
@Data
public class Category implements Serializable {
    /**
     * 
     */
    @TableId(value = "id")
    private String id;

    /**
     * 分类名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 硕士分类 1:学硕 2:专硕
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 分类编码
     */
    @TableField(value = "code")
    private Long code;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}